package com.apes.fn.server.workDesk.repository;

import com.apes.fn.server.workDesk.model.StockWarring;
import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import javax.transaction.Transactional;

/**
 * @program:
 * @description:
 * @author: lws
 * @create: 2023/2/13 10:29
 **/
public interface StockWarringRepository extends CustomRepository<StockWarring,String> {

    @Transactional
    @Modifying
    @Query(value = "truncate table RCL_STOCK_WARRING",nativeQuery = true)
    public void truncateTable();
}
